import Layout from '@/layout'

const eventsInfoRouter = {
  path: '/eventsInfo',
  component: Layout,
  redirect: '/eventsInfo',
  name: 'eventsInfo',
  children: [
    // 活动管理
    {
      path: 'list',
      component: () => import('@/views/events/eventsInfoManage'),
      name: 'eventsInfoManage',
      meta: {title: '活动管理',activeMenu: '/eventsInfo/list'},
      hidden: true
    },
    {
      path: 'edit/:id(\\d+)?',
      component: () => import('@/views/events/eventsInfoEdit'),
      name: 'eventsInfoEdit',
      meta: { noCache: true, title: '活动编辑/新增',activeMenu: '/eventsInfo/list'},
      hidden: true
    },
    {
      path: 'editMarket/:id(\\d+)?',
      component: () => import('@/views/events/eventsEditMarket'),
      name: 'eventsInfoEditMarket',
      meta: { noCache: true, title: '活动编辑/新增',activeMenu: '/eventsInfo/marketList'},
      hidden: true
    },
    {
      path: 'detail/:id(\\d+)',
      component: () => import('@/views/events/eventsInfoDetail/eventsInfoDetail'),
      name: 'eventsInfoDetail',
      meta: { noCache: true, title: '活动详情',activeMenu: '/eventsInfo/list'},
      hidden: true
    },
    {
      path: 'verifier',
      component: () => import('@/views/events/verifierManage'),
      name: 'verifierManage',
      meta: {title: '核销员管理',activeMenu: '/eventsInfo/list'},
      hidden: true
    },
    {
      path: 'verifierEventList/:id(\\d+)',
      component: () => import('@/views/events/verifierEventList'),
      name: 'verifierEventList',
      meta: { noCache: true, title: '核销员活动列表',activeMenu: '/eventsInfo/list'},
      hidden: true
    },
    
  ]
}
export default eventsInfoRouter;
